<!DOCTYPE html>
<html>
<head>
    <title>网上竞价项目编辑</title>
    <%- include('/unit/layout/header.html')%>
</head>
<body class="page-header-fixed">

<!-- BEGIN HEADER -->
<%- include('/unit/layout/top.html')%>
<!-- END HEADER -->

<!-- BEGIN CONTAINER -->

<div class="page-container row-fluid">

    <!-- BEGIN SIDEBAR -->

    <%- include('/unit/layout/sidebar.html')%>

    <!-- END SIDEBAR -->

    <!-- BEGIN PAGE -->

    <div class="page-content">

        <!-- BEGIN SAMPLE PORTLET CONFIGURATION MODAL FORM-->


        <!-- END SAMPLE PORTLET CONFIGURATION MODAL FORM-->

        <!-- BEGIN PAGE CONTAINER-->

        <div class="container-fluid">

            <!-- BEGIN PAGE HEADER-->

            <div class="row-fluid">

                <div class="span12">

                    <!-- BEGIN PAGE TITLE & BREADCRUMB-->

                    <h3 class="page-title">

                        网上竞价项目详情编辑

                    </h3>

                    <ul class="breadcrumb">

                        <li>

                            <i class="icon-home"></i>


                            <a href="#">招投标竞价子系统</a>

                            <i class="icon-angle-right"></i>

                        </li>

                        <li><a href="proj_list.html">网上竞价项目列表</a>
                            <i class="icon-angle-right"></i>
                        </li>
                        <li>
                            <a href="#">网上竞价项目详情编辑</a>
                        </li>

                    </ul>

                    <!-- END PAGE TITLE & BREADCRUMB-->

                </div>

            </div>

            <!-- END PAGE HEADER-->

            <!-- BEGIN PAGE CONTENT-->

            <form class="tab-pane active editForm form-inline" id="tab_3" role="form">

                <div class="portlet box blue basicInfo">

                    <div class="portlet-title">

                        <div class="caption"><i class="icon-reorder"></i>基本信息</div>

                        <div class="tools">
                            <a href="javascript:;" class="collapse"></a>
                        </div>

                    </div>

                    <div class="portlet-body">
                        <!--<div class="panel-body">-->
                        <table class="table table-striped table-bordered">
                            <tbody>
                            <tr>
                                <td width="16%"><span class="red">* </span>发起公司：</td>
                                <td colspan="5">
                                    <select class="span12 bitian orgId" data-placeholder="选择发起公司" tabindex="1"></select>
                                </td>
                            </tr>
                            <tr>
                                <td width="16%"><span class="red">* </span>项目名称：</td>
                                <td colspan="2"><input type="text" class="underline span12 bitian projNam"></td>
                                <td width="16%">项目编号：</td>
                                <td colspan="2"><input type="text" class="underline span12" disabled placeholder="系统生成">
                                </td>
                            </tr>
                            <tr>
                                <td width="16%"><span class="red">* </span>招标单位：</td>
                                <td colspan="2"><input type="text" class="underline span12 bitian bidDptNam"></td>
                                <td width="16%"><span class="red">* </span>招标单位地址：</td>
                                <td colspan="2"><input type="text" class="underline span12 bitian bidDptAddr"></td>
                            </tr>
                            <tr>
                                <td width="16%"><span class="red">* </span>监标人：</td>
                                <td colspan="2"><input type="text" class="underline span12 bitian projSupv"></td>
                                <td width="16%"><span class="red">* </span>监标人联系电话：</td>
                                <td colspan="2"><input type="text" class="underline span12 bitian projSupvTel"></td>
                            </tr>
                            <tr>
                                <td width="16%"><span class="red">* </span>物料品类：</td>
                                <td colspan="2">
                                    <select class="span6 matTyp matkl1" data-placeholder="选择一级分类" tabindex="1">
                                        <option value="">选择物料品类</option>
                                    </select>
                                    <select class="span6 bitian matTyp matkl2" data-placeholder="选择二级分类" tabindex="2"></select>
                                </td>
                                <td width="16%"><span class="red">* </span>报价类型：</td>
                                <td colspan="2"><select class="span12 bitian qotCntTyp" data-placeholder="选择报价类型" tabindex="1">
                                    <option value="">选择报价类型</option>
                                    <option value="0">非实时报价</option>
                                    <option value="2">实时报价</option>
                                </select></td>
                            </tr>
                            <tr>
                                <td width="16%"><span class="red">* </span>投标保证金：</td>
                                <td colspan="2">
                                    <select data-placeholder="选择是否需要投标保证金" class="span6 bitian dpstFlg">
                                        <option value="0">不需要投标保证金</option>
                                        <option value="1">需要投标保证金</option>
                                    </select>
                                    <input type="text" class="span6 bidDpst" placeholder="投标保证金金额(元)">
                                </td>
                                <td width="16%"><span class="red">* </span>是否需要公开招标价格：</td>
                                <td colspan="2">
                                    <select data-placeholder="选择是否需要公开招标价格" class="span6 bitian pubPriFlg">
                                        <option value="0">不公开</option>
                                        <option value="1">公开</option>
                                    </select>
                                </td>
                            </tr>
                            <tr>
                                <td width="16%"><span class="red">* </span>推荐报价币种：</td>
                                <td colspan="2">
                                    <select data-placeholder="选择币种类型" class="span6 bitian currTyp">
                                    </select>
                                    <input type="text" class="span6 exRate" disabled="disabled" value="当前汇率：">
                                </td>
                                <td colspan="3"></td>
                                <!--<td>查看汇率：</td>-->
                                <!--<td colspan="2">-->
                                    <!--<a href="#" class="">当前汇率信息列表</a>-->
                                <!--</td>-->
                            </tr>
                            <tr>
                                <td>招标负责人信息：</td>
                                <td width="16%"><span class="red">* </span>联系人姓名：</td>
                                <td><input type="text" class="span12 bitian ctct"></td>
                                <td width="16%"><span class="red">* </span>联系人电话：</td>
                                <td colspan="2"><input type="text" class="span12 bitian ctctTel"></td>
                            </tr>
                            <tr>
                                <td>评标相关</td>
                                <td width="16%"><span class="red">* </span>评标规则：</td>
                                <td>
                                    <select data-placeholder="评标规则" class="span12 bitian grdRul">
                                        <option value="0">最低单价中标</option>
                                        <option value="1">专家评标</option>
                                        <option value="2">最低总价中标</option>
                                    </select>
                                </td>
                                <td width="16%" id="grdTabDesc"><span class="red">* </span>专家评标表选择：</td>
                                <td colspan="2" id="grdTab">
                                    <select data-placeholder="请选择评标表" class="span12 grdTab">
                                        <option value="">==请选择专家评标表==</option>
                                    </select>
                                </td>
                            </tr>
                            <tr>
                                <td>报价时间：</td>
                                <td width="16%"><span class="red">* </span>报价截止时间：</td>
                                <td>
                                    <input name="endTm" type='text' class="span12 datetimepicker bitian bidEndTimStr" value=""/>
                                </td>
                                <td width="16%"><span class="red">* </span>开标时间：</td>
                                <td colspan="2">
                                    <input name="startTm" type="text" class="span12 datetimepicker bitian bidOpenTimStr" value=""/>
                                </td>
                            </tr>
                            <tr>
                                <td>付款方式及其他：</td>
                                <td colspan="5"><textarea name=" " rows="3" class="span12 projMemo"></textarea></td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                </div>

                <div class="portlet box blue material">
                    <div class="portlet-title">
                        <div class="caption"><i class="icon-reorder"></i>物料明细</div>
                        <div class="tools">
                            <a href="javascript:;" class="collapse"></a>
                        </div>
                    </div>
                    <div class="portlet-body">
                        <table class="table table-striped table-bordered">
                            <tbody>
                            <tr>
                                <td width="16%"><span class="red">* </span>物料来源：</td>
                                <td>
                                    <select class="span12 matOrgin" data-placeholder="物料来源">
                                        <option value="0">请购需求</option>
                                        <option value="1">非请购需求</option>
                                    </select>
                                </td>
                            </tr>
                            </tbody>
                        </table>
                        <div class="form-actions">
                            <a type="button" class="btn blue addMatDtl"><i class="add"></i> 单笔新增物料</a>
                            <a type="button" class="btn blue selectMat"><i class="icon-import"></i> 从请购单导入</a>
                            <a href="#showMatInfsOfXsl" role="button" class="btn blue importedMatInfs"
                               data-toggle="modal"><i class="icon-import"></i> 从Excel中导入物料</a>
                        </div>


                        <table class="table table-striped table-bordered matInfsDiv">
                        </table>
                    </div>
                </div>

                <!--<div class="portlet box blue suitCompaniesBox">-->
                    <!--<div class="portlet-title">-->
                        <!--<div class="caption"><i class="icon-reorder"></i>适用公司</div>-->
                        <!--<div class="tools">-->
                            <!--<a href="javascript:;" class="collapse"></a>-->
                        <!--</div>-->
                    <!--</div>-->
                    <!--<div class="portlet-body">-->
                        <!--<div class="form-actions suitCompaniesDescDiv">-->
                        <!--</div>-->

                        <!--<table class="table table-striped table-bordered suitCompaniesDiv">-->
                        <!--</table>-->
                    <!--</div>-->
                <!--</div>-->

                <!-- 指定招标供应商 -->
                <div class="portlet box blue designatedSplrsBox">
                    <div class="portlet-title">
                        <div class="caption">指定招标供应商</div>
                        <div class="tools">
                            <a href="javascript:;" class="collapse"></a>
                        </div>
                    </div>
                    <div class="portlet-body">
                        <table class="table table-striped table-bordered">
                            <tbody>
                            <tr>
                                <td width="16%"><span class="red">* </span>招标范围类型：</td>
                                <td>
                                    <select class="span12 bidRngTyp" data-placeholder="选择招标范围类型">
                                        <option value="0">非定向招标</option>
                                        <option value="1">定向招标</option>
                                    </select>
                                </td>
                            </tr>
                            </tbody>
                        </table>
                        <div class="form-actions designatedSplrsBtnFormActionArea">
                            <a type="button" class="btn blue designatedSplrsBtn"><i class="add"></i> 选择指定招标供应商</a>
                        </div>
                        <table class="table table-striped table-bordered designatedSplrsDiv">
                        </table>
                    </div>
                </div>

                <!-- 附件 -->
                <div class="portlet box blue atchFilesBox">
                    <div class="portlet-title">
                        <div class="caption"><i class="icon-reorder"></i>附件</div>
                        <div class="tools">
                            <a href="javascript:;" class="collapse"></a>
                        </div>
                    </div>
                    <div class="portlet-body">
                        <div class="form-actions">
                            <input name="imgFile" id="atchFile" type="file" style="display: none"/>
                            <a type="button" class="btn blue addFile"><i class="icon-add"></i> 添加附件</a><span>文件大小不能超过10M</span>
                        </div>
                        <table class="table table-striped table-bordered atchFilesDiv">
                        </table>
                    </div>
                </div>
            </form>

            <div class="form-actions">
                <input name="matInfFile" id="matInfFile" type="file" style="display: none"/>
                <a type="submit" class="btn blue submit subKeep"><i class="icon-ok"></i> 保存</a>
                <a type="submit" class="btn green submit subCheck"><i class="icon-ok"></i> 提交审核</a>
                <a type="button" class="btn" href="proj_list.html">取消</a>
            </div>

            <!--从excel导入物料信息-->
            <div class="modal fade hide" id="showMatInfsOfXsl" role="dialog" aria-hidden="true">
                <div class="modal-dialog">
                    <div class="modal-content">
                        <div class="modal-header">
                            <h4 class="modal-title">
                                从excel中导入物料
                            </h4>
                        </div>
                        <div class="modal-body">
                            <p>
                                模板下载：<br>
                                <a href="#" class="getExcelTpl03">Excel 97 - 2003 工作簿（.xls）模板</a>
                                <br>
                                <a href="#" class="getExcelTpl07">Excel 工作簿（.xlsx）模板</a>
                            </p>
                            <p>
                                <a type="button" class="btn blue importFromExcel"><i class="icon-add"></i> 从Excel中导入</a>
                            </p>
                        </div>
                        <div class="modal-footer">
                            <button type="button" class="btn btn-default" data-dismiss="modal">
                                确定
                            </button>
                        </div>
                    </div>
                </div>
            </div>


            <!--物料明细增改-->
            <div class="modal fade" id="matDtlModal" role="dialog" aria-hidden="true">
                <div class="modal-dialog">
                    <div class="modal-content">
                        <div class="modal-header">
                            <h4 class="modal-title">
                                新增/修改物料明细
                            </h4>
                        </div>
                        <div class="modal-body">
                            <table class="table table-bordered matDtlTable">

                            </table>
                        </div>

                        <div class="modal-footer">
                            <a type="submit" class="btn blue submit saveMatDtl"><i class="icon-ok"></i> 保存</a>
                            <button type="button" class="btn btn-default" data-dismiss="modal">
                                关闭
                            </button>
                        </div>
                    </div>

                </div>

            </div>


            <!-- END PAGE CONTAINER-->

        </div>

        <!-- END PAGE -->

    </div>

    <!-- END CONTAINER -->

    <!-- BEGIN FOOTER -->

    <%- include('/unit/layout/footer.html')%>

    <!-- END FOOTER -->

    <%- include('/unit/layout/js.html')%>

    <!-- 弹出框显示请购单中物料信息（Modal） -->
    <div class="modal fade hide" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
         aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="portlet box blue" style="margin-bottom: 2px;">
                    <div class="portlet-title">
                        <div class="caption"><i class="icon-reorder"></i>选择物料</div>
                    </div>
                    <div class="portlet-body">
                        <table class="table table-striped table-bordered">
                            <thead>
                            <tr style="height:42px; font-size:16px;font-weight: bold;">
                                <td style="width: 8% !important;text-align: center !important;">&nbsp;</td>
                                <td style="text-align: center">品目</td>
                                <td style="text-align: center">物料编码</td>
                                <td style="text-align: center">采购数量</td>
                                <td style="text-align: center">计量单位</td>
                                <td style="text-align: center">交货地址</td>
                                <td style="text-align: center">交货时间</td>
                            </tr>
                            </thead>
                            <tbody id="tab3_addMore_modal"></tbody>
                        </table>
                        <div class="row-fluid J_pagination"></div>
                    </div>
                </div>
                <div class="myfooter tools">
                    <a type="button" class="btn green toAdd">确认添加</a>
                    <a type="button" class="btn grey toCancel">关闭</a>
                </div>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal -->


    <!-- 弹框指定招标供应商（Modal） -->
    <div class="modal fade hide" id="designateSplrsModal" tabindex="-1" role="dialog" aria-labelledby="designateSplrsModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-header">
                <h4 class="modal-title">
                    <i class="icon-reorder"></i>指定招标供应商
                </h4>
            </div>
            <div class="modal-content">
                <table class="table table-striped table-bordered designateSplrsTable">
                </table>
            </div>
            <div class="modal-footer">
                <a type="submit" class="btn blue submit designateSplrs_ok"><i class="icon-ok"></i> 保存</a>
                <button type="button" class="btn btn-default" data-dismiss="modal">
                    关闭
                </button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal -->

</div>

</div>
<!-- END JAVASCRIPTS -->

<script type="text/javascript">  var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-37564768-1']);
_gaq.push(['_setDomainName', 'keenthemes.com']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_trackPageview']);
(function () {
    var ga = document.createElement('script');
    ga.type = 'text/javascript';
    ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(ga, s);
})();</script>


</body>
</html>